object frmValidaSintegra: TfrmValidaSintegra
  Left = 3
  Top = 91
  BorderIcons = [biSystemMenu]
  BorderStyle = bsSingle
  Caption = 'Valida Sintegra'
  ClientHeight = 484
  ClientWidth = 790
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = [fsBold]
  OldCreateOrder = False
  Position = poScreenCenter
  OnActivate = FormActivate
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object GroupBox1: TGroupBox
    Left = 0
    Top = 0
    Width = 790
    Height = 45
    Align = alTop
    Color = 14342874
    ParentColor = False
    TabOrder = 0
    object Label1: TLabel
      Left = 5
      Top = 17
      Width = 95
      Height = 13
      Caption = 'Arquivo Sintegra'
    end
    object BitBtn1: TBitBtn
      Left = 447
      Top = 14
      Width = 75
      Height = 25
      Caption = '&OK'
      TabOrder = 0
      OnClick = BitBtn1Click
      Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333377F3333333333000033334224333333333333
        337337F3333333330000333422224333333333333733337F3333333300003342
        222224333333333373333337F3333333000034222A22224333333337F337F333
        7F33333300003222A3A2224333333337F3737F337F33333300003A2A333A2224
        33333337F73337F337F33333000033A33333A222433333337333337F337F3333
        0000333333333A222433333333333337F337F33300003333333333A222433333
        333333337F337F33000033333333333A222433333333333337F337F300003333
        33333333A222433333333333337F337F00003333333333333A22433333333333
        3337F37F000033333333333333A223333333333333337F730000333333333333
        333A333333333333333337330000333333333333333333333333333333333333
        0000}
      NumGlyphs = 2
    end
    object edArq: TFilenameEdit
      Left = 105
      Top = 16
      Width = 337
      Height = 21
      NumGlyphs = 1
      TabOrder = 1
    end
    object GroupBox2: TGroupBox
      Left = 531
      Top = 0
      Width = 257
      Height = 45
      Caption = 'Pesquisa: '
      TabOrder = 2
      object Label2: TLabel
        Left = 74
        Top = 18
        Width = 48
        Height = 13
        Caption = 'N.'#186' nota'
      end
      object edNum: TEdit
        Left = 127
        Top = 16
        Width = 121
        Height = 21
        TabOrder = 0
        OnKeyDown = edNumKeyDown
      end
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 45
    Width = 790
    Height = 20
    Align = alTop
    BevelInner = bvLowered
    Caption = 'Notas'
    Color = 16759413
    TabOrder = 1
  end
  object DBGrid1: TDBGrid
    Left = 0
    Top = 65
    Width = 790
    Height = 212
    Align = alTop
    DataSource = dtNota
    Options = [dgTitles, dgIndicator, dgColLines, dgRowLines, dgMultiSelect]
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = [fsBold]
    OnCellClick = DBGrid1CellClick
    Columns = <
      item
        Alignment = taCenter
        Color = 16768959
        Expanded = False
        FieldName = 'CPF_CNPJ'
        Title.Alignment = taCenter
        Title.Caption = 'CPF/CNPJ'
        Width = 108
        Visible = True
      end
      item
        Alignment = taCenter
        Color = 16768959
        Expanded = False
        FieldName = 'Serie'
        Title.Alignment = taCenter
        Width = 38
        Visible = True
      end
      item
        Alignment = taCenter
        Color = 16768959
        Expanded = False
        FieldName = 'Nota'
        Title.Alignment = taCenter
        Width = 74
        Visible = True
      end
      item
        Alignment = taCenter
        Color = 14155775
        Expanded = False
        FieldName = 'CFOP'
        Title.Alignment = taCenter
        Width = 55
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'CodEnt'
        Title.Alignment = taCenter
        Title.Caption = 'Entidade'
        Width = 59
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'NomeEnt'
        Title.Alignment = taCenter
        Title.Caption = 'Nome'
        Visible = False
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'IE'
        Title.Alignment = taCenter
        Title.Caption = 'Insc. Est.'
        Visible = False
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'UF'
        Title.Alignment = taCenter
        Width = 26
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'DataFat'
        Title.Alignment = taCenter
        Title.Caption = 'Faturamento'
        Width = 89
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'BaseCalc'
        Title.Alignment = taCenter
        Title.Caption = 'Valor'
        Visible = False
      end
      item
        Expanded = False
        FieldName = 'Cancelada'
        Visible = True
      end>
  end
  object Panel2: TPanel
    Left = 0
    Top = 277
    Width = 790
    Height = 20
    Align = alTop
    BevelInner = bvLowered
    Caption = 'Itens'
    Color = 16759413
    TabOrder = 3
  end
  object DBGrid2: TDBGrid
    Left = 0
    Top = 297
    Width = 790
    Height = 142
    Align = alTop
    DataSource = dtItem
    Options = [dgTitles, dgIndicator, dgColLines, dgRowLines, dgMultiSelect]
    TabOrder = 4
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = [fsBold]
    OnDrawColumnCell = DBGrid2DrawColumnCell
    Columns = <
      item
        Alignment = taCenter
        Color = clWhite
        Expanded = False
        FieldName = 'CPF_CNPJ'
        Title.Alignment = taCenter
        Title.Caption = 'CPF/CNPJ'
        Width = 108
        Visible = True
      end
      item
        Alignment = taCenter
        Color = clWhite
        Expanded = False
        FieldName = 'Serie'
        Title.Alignment = taCenter
        Title.Caption = 'S'#233'rie'
        Width = 38
        Visible = True
      end
      item
        Alignment = taCenter
        Color = clWhite
        Expanded = False
        FieldName = 'Nota'
        Title.Alignment = taCenter
        Width = 74
        Visible = True
      end
      item
        Alignment = taCenter
        Color = clWhite
        Expanded = False
        FieldName = 'CFOP'
        Title.Alignment = taCenter
        Width = 52
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'CodEnt'
        Title.Alignment = taCenter
        Title.Caption = 'Entidade'
        Width = 59
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'NomeEnt'
        Title.Alignment = taCenter
        Title.Caption = 'Nome'
        Visible = False
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'Item'
        Title.Alignment = taCenter
        Visible = False
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'Produto'
        Title.Alignment = taCenter
        Width = 106
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'Qtde'
        Title.Alignment = taCenter
        Visible = False
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'VlrProd'
        Title.Alignment = taCenter
        Title.Caption = 'Valor'
        Visible = False
      end>
  end
  object Panel3: TPanel
    Left = 0
    Top = 447
    Width = 790
    Height = 37
    Align = alBottom
    TabOrder = 5
    object BitBtn2: TBitBtn
      Left = 612
      Top = 7
      Width = 167
      Height = 25
      Caption = '&Fechar'
      TabOrder = 0
      OnClick = BitBtn2Click
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00330000000000
        03333377777777777F333301111111110333337F333333337F33330111111111
        0333337F333333337F333301111111110333337F333333337F33330111111111
        0333337F333333337F333301111111110333337F333333337F33330111111111
        0333337F3333333F7F333301111111B10333337F333333737F33330111111111
        0333337F333333337F333301111111110333337F33FFFFF37F3333011EEEEE11
        0333337F377777F37F3333011EEEEE110333337F37FFF7F37F3333011EEEEE11
        0333337F377777337F333301111111110333337F333333337F33330111111111
        0333337FFFFFFFFF7F3333000000000003333377777777777333}
      NumGlyphs = 2
    end
    object BitBtn3: TBitBtn
      Left = 8
      Top = 7
      Width = 167
      Height = 25
      Caption = '&Cancelar'
      TabOrder = 1
      OnClick = BitBtn3Click
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000130B0000130B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
        3333333777333777FF3333993333339993333377FF3333377FF3399993333339
        993337777FF3333377F3393999333333993337F777FF333337FF993399933333
        399377F3777FF333377F993339993333399377F33777FF33377F993333999333
        399377F333777FF3377F993333399933399377F3333777FF377F993333339993
        399377FF3333777FF7733993333339993933373FF3333777F7F3399933333399
        99333773FF3333777733339993333339933333773FFFFFF77333333999999999
        3333333777333777333333333999993333333333377777333333}
      NumGlyphs = 2
    end
  end
  object CDSNota: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 48
    Top = 116
    object CDSNotaCPF_CNPJ: TStringField
      FieldName = 'CPF_CNPJ'
      Size = 14
    end
    object CDSNotaCodEnt: TStringField
      FieldName = 'CodEnt'
      Size = 5
    end
    object CDSNotaNomeEnt: TStringField
      FieldName = 'NomeEnt'
      Size = 30
    end
    object CDSNotaIE: TStringField
      FieldName = 'IE'
      Size = 14
    end
    object CDSNotaDataFat: TDateField
      FieldName = 'DataFat'
    end
    object CDSNotaUF: TStringField
      FieldName = 'UF'
      Size = 2
    end
    object CDSNotaSerie: TStringField
      FieldName = 'Serie'
      Size = 3
    end
    object CDSNotaNota: TStringField
      FieldName = 'Nota'
      Size = 6
    end
    object CDSNotaCFOP: TStringField
      FieldName = 'CFOP'
      Size = 8
    end
    object CDSNotaBaseCalc: TFloatField
      FieldName = 'BaseCalc'
    end
    object CDSNotaCancelada: TStringField
      FieldName = 'Cancelada'
      Size = 1
    end
  end
  object CDSItem: TClientDataSet
    Aggregates = <>
    MasterSource = dtNota
    PacketRecords = 0
    Params = <>
    Left = 84
    Top = 116
    object CDSItemCPF_CNPJ: TStringField
      FieldName = 'CPF_CNPJ'
      Size = 14
    end
    object CDSItemCodEnt: TStringField
      FieldName = 'CodEnt'
      Size = 5
    end
    object CDSItemNomeEnt: TStringField
      FieldName = 'NomeEnt'
      Size = 30
    end
    object CDSItemSerie: TStringField
      FieldName = 'Serie'
    end
    object CDSItemNota: TStringField
      FieldName = 'Nota'
      Size = 6
    end
    object CDSItemCFOP: TStringField
      FieldName = 'CFOP'
      Size = 3
    end
    object CDSItemItem: TStringField
      FieldName = 'Item'
      Size = 3
    end
    object CDSItemProduto: TStringField
      FieldName = 'Produto'
      Size = 14
    end
    object CDSItemQtde: TFloatField
      FieldName = 'Qtde'
    end
    object CDSItemVlrProd: TFloatField
      FieldName = 'VlrProd'
    end
  end
  object dtNota: TDataSource
    DataSet = CDSNota
    Left = 48
    Top = 148
  end
  object dtItem: TDataSource
    DataSet = CDSItem
    Left = 84
    Top = 148
  end
end
